
#ifndef  _RADIX_DIALECT_XML_H_
#define  _RADIX_DIALECT_XML_H_

#include <Archaism/Main.h>

_BeginNamespace(Radix)

class XmlNode
{
	typedef std::vector<XmlNode*> NodeList;

public:
	XmlNode(String xml = _T(""));
	virtual ~XmlNode();

public:
	NodeList& children() const;
	StringMap& attributes() const;
	void AppendChild(const XmlNode& node);
	
private:
	NodeList mChildren;
	StringMap mAttributes;
};

_EndNamespace(Radix)

#endif//_RADIX_DIALECT_XML_H_
